package com.atguigu.spzx.feign.cart;

import com.atguigu.spzx.model.entity.product.CartInfo;
import com.atguigu.spzx.model.vo.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author Mahone
 */
@FeignClient( value = "service-cart")
public interface CartFeignClient {

    @GetMapping("/api/order/cart/auth/getAllCkecked")
    public Result<List<CartInfo>> getAllCkecked();

    /**
     * 清空购物车
     */
    @GetMapping("/api/order/cart/auth/deleteChecked")
    void deletechecked();
}
